package com.briup.cms.dao.extend;
import com.briup.cms.bean.extend.ArticleExtend;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface ArticleExtendMapper {

    ArticleExtend findByIdWithCategoryAndUser(int id);

    List<ArticleExtend> findCategoryByStatus(int status);

    List<ArticleExtend> queryArticleWithCategoryAndUser(@Param("title") String title, @Param("status") Integer status, @Param("categoryId") Integer categoryId);

    void deleteArticleByCategoryId(int id);
}
